package com.example.myproject.config;

import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 加载配置
 * 引入外部配置文件core.properties
 */
@Configuration
@EnableJpaAuditing
@EnableTransactionManagement
//@EnableJpaRepositories(basePackages = "com.example.myproject.domain.repository")
//@EntityScan(basePackages = "com.example.myproject.domain.entity")
//@PropertySource("classpath:core.properties")
public class JpaConfig {
}
